package com.gao.r_hash.a;

import java.util.Iterator;
import java.util.Set;

/**
 * @author gao
 * @time 2020/05/23 09:30:59
 */
public class App {
    public static void main(String[] args) {
        Set set = new SlowHashSet();
        set.add("周杰伦");
        set.add("周杰伦");
        set.add("双节棍");
        set.add("双节棍");
        set.add("周润发");
        set.add("周润发");

        Iterator it = set.iterator();
        while (it.hasNext()) {
            Object obj = it.next();
            System.out.println("obj = " + obj);
        }
    }
}
